package com.zhengshang.api.service;

import java.util.List;
import com.zhengshang.api.domain.AppOtherQueryRecord;

/**
 * 违章查询记录Service接口
 * 
 * @author zhengshang
 * @date 2021-04-08
 */
public interface IAppOtherQueryRecordService
{
    /**
     * 查询违章查询记录
     * 
     * @param recordId 违章查询记录ID
     * @return 违章查询记录
     */
    public AppOtherQueryRecord selectAppOtherQueryRecordById(Long recordId);

    /**
     * 查询违章查询记录列表
     * 
     * @param appOtherQueryRecord 违章查询记录
     * @return 违章查询记录集合
     */
    public List<AppOtherQueryRecord> selectAppOtherQueryRecordList(AppOtherQueryRecord appOtherQueryRecord);

    /**
     * 查询用户当天查询违章次数
     *
     * @param appOtherQueryRecord 违章查询记录
     * @return 条数
     */
    public int getTodayCount(AppOtherQueryRecord appOtherQueryRecord);

    /**
     * 新增违章查询记录
     * 
     * @param appOtherQueryRecord 违章查询记录
     * @return 结果
     */
    public int insertAppOtherQueryRecord(AppOtherQueryRecord appOtherQueryRecord);

    /**
     * 修改违章查询记录
     * 
     * @param appOtherQueryRecord 违章查询记录
     * @return 结果
     */
    public int updateAppOtherQueryRecord(AppOtherQueryRecord appOtherQueryRecord);

    /**
     * 批量删除违章查询记录
     * 
     * @param recordIds 需要删除的违章查询记录ID
     * @return 结果
     */
    public int deleteAppOtherQueryRecordByIds(Long[] recordIds);

    /**
     * 删除违章查询记录信息
     * 
     * @param recordId 违章查询记录ID
     * @return 结果
     */
    public int deleteAppOtherQueryRecordById(Long recordId);
}
